<?php

namespace App\JsonRpc;

interface RabbitMqServiceInterface
{
//    public function __construct(string $exchangeName, string $queueName, string $routeKey, string $exchangeType = 'direct', array $config = []);
    public function createConnect();
    public function createExchange();
    public function sendMessage(string $data);
    public function dealMq(bool $flag);
    public function get(object $msg);
    public function closeConnect();
    public function setConfig(string $token);
}